0c7775946277419d8f94396ea4863a75ed7d71a8,wicket-examples/src/main/java/org/apache/wicket/examples/niceurl/NiceUrlApplication.java,NiceUrlApplication,init,#,62
Before Change
// that any refactoring (like a package rename) will automatically
// be applied here.
getRootRequestMapperAsCompound().add(
new PackageMapper("/my/mounted/package", PackageName.forClass(Page3.class)));
}
/**
* Sets up a request coding strategy that uses case-insensitive mounts
After Change
// that any refactoring (like a package rename) will automatically
// be applied here.
getRootRequestMapperAsCompound().add(
new MountMapper("/my/mounted/package", new PackageMapper(
PackageName.forClass(Page3.class))));
}
/**
* Sets up a request coding strategy that uses case-insensitive mounts